package com.njym.java.security.app.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-11-25 10:28:11
 */
@Table(name = "photo_content")
public class PhotoContent implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //相册id
    @Column(name = "photo_id")
    private Integer photoId;
	
	    //图片路径
    @Column(name = "pic")
    private String pic;
	
	    //创建时间
    @Column(name = "create_time")
    private Date createTime;
	
	    //删除标识
    @Column(name = "deleted")
    private Integer deleted;
	
	    //
    @Column(name = "attr1")
    private int attr1;
	
	    //
    @Column(name = "attr2")
    private String attr2;
	
	    //
    @Column(name = "attr3")
    private String attr3;
	
	    //
    @Column(name = "attr4")
    private String attr4;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：相册id
	 */
	public void setPhotoId(Integer photoId) {
		this.photoId = photoId;
	}
	/**
	 * 获取：相册id
	 */
	public Integer getPhotoId() {
		return photoId;
	}
	/**
	 * 设置：图片路径
	 */
	public void setPic(String pic) {
		this.pic = pic;
	}
	/**
	 * 获取：图片路径
	 */
	public String getPic() {
		return pic;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：删除标识
	 */
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	/**
	 * 获取：删除标识
	 */
	public Integer getDeleted() {
		return deleted;
	}
	/**
	 * 设置：
	 */
	public void setAttr1(int attr1) {
		this.attr1 = attr1;
	}
	/**
	 * 获取：
	 */
	public int getAttr1() {
		return attr1;
	}
	/**
	 * 设置：
	 */
	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}
	/**
	 * 获取：
	 */
	public String getAttr2() {
		return attr2;
	}
	/**
	 * 设置：
	 */
	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}
	/**
	 * 获取：
	 */
	public String getAttr3() {
		return attr3;
	}
	/**
	 * 设置：
	 */
	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}
	/**
	 * 获取：
	 */
	public String getAttr4() {
		return attr4;
	}
}
